<template>
    <el-form
        :model="forgot" 
        status-icon 
        :rules="rules" 
        ref="ruleForm" 
        label-width="100px" 
    >   
        <el-form-item label="手机号码" prop="mobile">
            <el-input type="text" v-model="forgot.mobile" autocomplete="off" placeholder="请输入手机号码"></el-input>
        </el-form-item>
         <el-form-item label="验证码" prop="sms">
            <el-input style="width:50%" type="text" v-model="forgot.sms" autocomplete="off"  placeholder="请输入验证码" ></el-input>
            <el-button   type="danger" :disabled="disabled"  @click="submitForm('ruleForm')">获取验证码</el-button>

        </el-form-item>
        <el-form-item>
            <el-button  class="btn-width" type="success"  @click="submitForm('ruleForm')">修改密码</el-button>
        </el-form-item>
    </el-form>
</template>

<script>
export default {
    data(){
        return {
            forgot:{

            },
            rules:{

            },
            disabled:true,
        }
    }
}
</script>
